#pragma once


#define WM_HIDEAWND							(WM_APP+10000)


#define ID_DISPLAY 1
#define ID_POP	2

#define WIN_HEIGHT	130
#define WIN_WIDTH 200
// CSysNotifyWnd

class CNotifyWnd : public CWnd
{
	DECLARE_DYNAMIC(CNotifyWnd)
private:
	HBRUSH m_hbkBrush;
	HBITMAP m_hbkBmp;
	BITMAP m_bmp;
	bool m_bFlag;
	int m_nSubHeight;
	CString m_strCaption;
	CString m_strMsgText;
	CWinThread *m_pNotifyThread;
	CWnd *m_pNotifyWnd;
public:
	CNotifyWnd();
	virtual ~CNotifyWnd();
	BOOL CreateSelf(CWnd *pNotifyWnd);
	void SetShowInfo(CString strCaption, CString strMsgText);
protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg void OnPaint();
};


